<!DOCTYPE html>
<html>
{include file="public/head" /}
<body>
<div class="box-body">
        <form id="myform" class="myform form-horizontal"  method="post">
        <input type="hidden" name="m_cid" value="{$info['m_cid']|default=''}">
          <div class="row">
            <div class="col-md-12">
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-btn">所属分类：</span>
                </div>
                <!-- /btn-group -->
        <select name="m_list_id" class="form-control select2" style="width: 100%;">
{volist name="list_tree" id="list"}
		<option value="{$list['list_id']}" {if isset($info['m_list_id']) && $info['m_list_id'] == $list['list_id']}selected{/if}>{$list.list_name}</option>
						{/volist}
		</select>
              </div>              
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-btn">类型名称：</span>
                </div>
                <!-- /btn-group -->
                 <input type="text" class="form-control" name="m_name" value="{$info.m_name|default=''}"  autocomplete="off"  required="required" placeholder="类型名称必填">
              </div> 
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-btn">类型拼音：</span>
                </div>
                <!-- /btn-group -->
                 <input type="text" class="form-control" name="m_ename" value="{$info.m_ename|default=''}"  autocomplete="off" placeholder="留空自动获取">
              </div>                                                                                      
               <div class="input-group margin">
                <div class="input-group-btn">
                <span class="btn btn-default form-left-btn">类型排序：</span>
                </div>
                <!-- /btn-group -->
               <input type="text" class="form-control w30" name="m_order" value="{$info.m_order|default=0}" autocomplete="false" placeholder="越小越前面"  style="text-align:center;">
              </div>
                                                                     
            </div>          
          </div>
          <!-- /.row -->
        <div class="box-footer {notempty name=":request()->param('dialog')"}hidden{/notempty} layer-footer">
          <div  class="footer-btn">
               <button type="submit" class="btn btn-success btn-embossed">确定</button>
               <button type="reset" class="btn btn-default btn-embossed">重置</button>
               {notempty name=":request()->param('dialog')"}
               <button type="reset" class="btn btn-primary btn-embossed btn-close" onClick="layer.closeAll();"> 关闭</button>
               {/notempty}
            </div>
       </div>
       <!-- /.box-footer -->     
</form>
</div>

{include file="public/footer" /}
<!-- /.box-body -->    
<script type="text/javascript">
$(document).ready(function(){
	zanpian.cms.all();	
	
});	
</script>	
</body>
</html>
